<template>
    <AppHeader back class="app-common__header" title="修改地址"></AppHeader>
    <van-address-edit
    :area-list="areaList"
    show-postal
    show-delete
    show-set-default
    show-search-result
    tel-maxlength="11"
    :search-result="searchResult"
    :area-columns-placeholder="['请选择', '请选择', '请选择']"
    @save="onSave"
    @delete="onDelete"
    />

</template>
<script setup lang="ts">
import { ref } from 'vue'
import { Toast } from 'vant'
const searchResult = ref([]); 
const areaList=ref()
const onSave = () => Toast('save');
const onDelete = () => Toast('delete');
</script>